<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{dede:field name="title"/}-{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="canonical" href="{dede:global.cfg_basehost/}{dede:field.id runphp='yes'}$id=@me;@me='';$url=GetOneArchive($id);@me=$url['arcurl'];{/dede:field.id}"/>
<link href="{dede:global.mcfg_basehost/}/m-css/m-index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{dede:global.mcfg_basehost/}/m-js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_basehost/}/system/gzs.ajax.js"></script>
<script type="text/javascript">
function CheckLogintop(){
var taget_obj = document.getElementById('_userlogin');
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/user/ajax_loginsta.php");
DedeXHTTP = null;
}
</script>
<style type="text/css">
.m-article-content h2{line-height:28px;}
.post_item img{width:130px;height:80px;border-radius:3px;}
.ycwz{display:none;}
.mall-totop{bottom:80px;}
.m-article-title h1{line-height:34px;font-size:24px;font-weight:700;}
.m-article-content p{line-height:28px;font-size:16px;}
.yxw-manageBox span .yxw-dianzan{background:url({dede:global.mcfg_basehost/}/m-images/dianzan1.png) no-repeat;background-size:25px 25px;}
.yxw-manageBox span .yxw-dianzan2{background:url({dede:global.mcfg_basehost/}/m-images/dianzan2.png) no-repeat;background-size:25px 25px;}
.yxw-manageBox span i{padding-right:4px;float:left;display:block;width:25px;height:25px;}
.relevant-recommend li:last-child{border-bottom:0;}
.post_item a{border-bottom:0;}
.relevant-recommend li{border-bottom:1px solid #f5f5f5;}
</style>
</head>
<body>
<div class="wrapper">
{dede:include filename="head_m.htm"/}
<!-- 文章标题 -->
<div class="m-article-title">
<h1>{dede:field name="title"/}</h1>
<div class="status_bar">
<span class="ycwz {dede:field.source/}">原创</span>
<span class="source" style="color:#dc761f;">{dede:field.writer/}</span>
<span class="date">{dede:field.pubdate function="tranTime(@me)"/}</span>
</div>
</div>
<!-- 文章标题 -->


<!-- 文章内容 -->
<div class="m-article-content" style="padding:10px 15px 0;">
{dede:field.body function='mstrup(@me)'/}
</div>
<!-- 文章内容 End -->


<!-- 点赞 -->
<div class="manageBox"><span rel="{dede:field.id/}" id="Addlike" class="like" style="font-size:14px;"><i class="yxw-dianzan"></i><script type="text/javascript" src="{dede:global.mcfg_basehost/}/gzswzdz/gzsszancount.php?aid={dede:field name='id'/}"></script></span></div>
<!-- 点赞 End -->


<!-- 相关文章 -->
<div class="relevant-recommend">
<div class="mod-title">相关文章</div>
<ul>
{dede:likearticle mytypeid='1' row='5' titlelen='80' eregtype=all|tag|keyword}
<li class="post_item">
<a href="[field:arcurl/]">
<img src="[field:litpic function='mstrone(@me)'/]">
<h3 class="post_h3">[field:title/]</h3>
<div class="post_tag">
<span class="post_name">[field:pubdate function="tranTime(@me)"/]</span>
<span class="postSee">[field:click/]人看过</span>
</div>
</a>
</li>
{/dede:likearticle}
</ul>
</div>
<!-- 相关文章 End -->

</div>

{dede:include filename="footer-ke.htm"/}

<!-- 文章点赞 -->
<script type="text/javascript">
if($(".post_item").length < 1){
$(".relevant-recommend").hide();	
}

$(function(){

  $("#Addlike").click(function(){
     var zan = $("#Addlike");
     var id = zan.attr("rel"); //对应id
     $.ajax({
         type:"POST",
         url:"{dede:global.mcfg_basehost/}/gzswzdz/gzsszan.php",
         data:"id="+id,
         cache:false, //不缓存此页面
         success:function(data){
             if(data==0){
                 alert('您已经赞过了');
                 
             }else{
                 $("#Addlike").addClass("yidian");
                 $("#Addlike").css("color","#ff700a");
                 zan.html('<i class="yxw-dianzan yxw-dianzan2"></i><font color="#ff700a">'+ data +'</font>');
                
                
              }
         }
      });
       return false;
  });

$.post("{dede:global.mcfg_basehost/}/gzswzdz/gzsszan.php",{id:$("#Addlike").attr("rel"),a:"zanlemei"},function(result){
        if(result != 0){
            $("#Addlike").find(".yxw-dianzan").addClass("yxw-dianzan2");
            $("#Addlike").css("color","#ff700a");
        }
});
});
</script>

{dede:include filename="kc_search_m.htm"/}
{dede:include filename="wz-tongji.htm"/}

</body>
</html>